public int bigDiff(int[] nums) {
  int maximum = nums[0],minmun = nums[0];
  for(int i = 0; i <= nums.length - 1; i++){
    maximum = Math.max(nums[i],maximum);
    minmum = Math.min(nums[i],minmum);
  }
  return maximum - minmum;
}